/**
 * Created by xiongcheng on 2018/3/16.
 */
import Vue from 'vue'
import Vuex from 'vuex'
import actions from './actions'
import getters from './getters'
import mutations from './mutations'
Vue.use(Vuex)

const debug=process.env.NODE_ENV !=='production'

const state={
  totalPrice:0,
  userId:'111'
}

export default new Vuex.Store({
  state,
  actions,
  getters,
  mutations,
  strict:debug
})
